Three more things that might require some attention:
1. Alpha series do not get written to an RData file using SaveAs. This seems like a serious missing feature.
2. Using File/SaveAs does not lead to anything being put in the Capture pane.
3. The online help for wfsave does not include RData as a type, http://www.eviews.com/help/helpintro.ht ... 3ww2638923
R save stuff
Moderators: EViews Gareth, EViews Moderator
-
- EViews Developer
- Posts: 799
- Joined: Tue Sep 16, 2008 3:00 pm
- Location: Irvine, CA
Re: R save stuff
Alpha series:
I believe our default is to save all numeric series objects in a workfile into either a data.frame or a ts structure. Can you have alpha columns in a data.frame or ts? If so, send me some example R code that assembles that and I'll see about supporting alpha series.
Capture pane:
SaveAs has been missing in command capture for a while. I'll look into fixing that though it won't be a quick fix.
WFSAVE documentation referring to RData:
I'll put in another documentation change request.
I believe our default is to save all numeric series objects in a workfile into either a data.frame or a ts structure. Can you have alpha columns in a data.frame or ts? If so, send me some example R code that assembles that and I'll see about supporting alpha series.
Capture pane:
SaveAs has been missing in command capture for a while. I'll look into fixing that though it won't be a quick fix.
WFSAVE documentation referring to RData:
I'll put in another documentation change request.
-
- Non-normality and collinearity are NOT problems!
- Posts: 3775
- Joined: Wed Sep 17, 2008 2:25 pm
Re: R save stuff
Hi Steve,
Is that what you wanted?
Code: Select all
# exampleForSteve.R
# Dick Startz
# June 2020
df <- data.frame(randomNumbers = runif(10), randomLetters = letters[sample.int(10,n=26)])
df
Is that what you wanted?
-
- EViews Developer
- Posts: 799
- Joined: Tue Sep 16, 2008 3:00 pm
- Location: Irvine, CA
Re: R save stuff
Actually, I looked into the rdata save code and it seems like we're intentionally ignoring alpha series. I may be able to include those for rdata file formats, at least as a separate object. I'll let you know...
-
- EViews Developer
- Posts: 799
- Joined: Tue Sep 16, 2008 3:00 pm
- Location: Irvine, CA
Re: R save stuff
Ok, I made some changes that will make it to our next patch. WFSAVE for rdata files will now support alphas, matrixes, vectors, and scalars. They will all appear as separate items in R.
-
- Non-normality and collinearity are NOT problems!
- Posts: 3775
- Joined: Wed Sep 17, 2008 2:25 pm
Re: R save stuff
Much appreciated.
Return to “Suggestions and Requests”
Who is online
Users browsing this forum: No registered users and 11 guests