Révision 1716
| tmp/org.txm.statsengine.r.core/src/org/txm/statsengine/r/core/data/VectorImpl.java (revision 1716) | ||
|---|---|---|
| 180 | 180 |
/** |
| 181 | 181 |
* Gets the r names. |
| 182 | 182 |
* |
| 183 |
* @param string |
|
| 184 |
* the string |
|
| 183 |
* @param string the string |
|
| 185 | 184 |
* |
| 186 | 185 |
* @return the r names |
| 187 | 186 |
* |
| 188 |
* @throws RWorkspaceException |
|
| 189 |
* the r workspace exception |
|
| 187 |
* @throws RWorkspaceException the r workspace exception |
|
| 190 | 188 |
*/ |
| 191 | 189 |
public void getRNames(String[] string) throws RWorkspaceException {
|
| 192 | 190 |
getAttribute("names"); //$NON-NLS-1$
|
| 193 | 191 |
} |
| 194 | 192 |
|
| 195 | 193 |
/** |
| 196 |
* Get a new vector with a copy of the value at the specif ied index in this
|
|
| 194 |
* Get a new vector with a copy of the value at the specified index in this |
|
| 197 | 195 |
* vector. |
| 198 | 196 |
* |
| 199 | 197 |
* @param index the index |
| ... | ... | |
| 207 | 205 |
String name_index = createSymbole(Vector.class); |
| 208 | 206 |
rw.addVectorToWorkspace(name_index, rIndex); |
| 209 | 207 |
String name = createSymbole(Vector.class); |
| 210 |
rw.voidEval(name + "<- " + symbol + "[ " + name_index + "];"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ |
|
| 208 |
rw.voidEval(name + " <- " + symbol + "[ " + name_index + "];"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
|
| 211 | 209 |
return new VectorImpl(name); |
| 212 | 210 |
} |
| 213 | 211 |
|
Formats disponibles : Unified diff