Displaying 5 results from an estimated 5 matches for "xsel".
Did you mean:
sel
2007 Jan 09
4
A question about R environment
Hi all,
I created environment "mytoolbox" by : mytoolbox <- new.env(parent=baseenv())
Is there anyway I put it in the search path ?
If you need some background :
In a project, I often write some small functions, and load them into my workspace directly, so when I list the objects
with ls(), it looks pretty messy. So I am wondering if it is possible to creat an
2011 Dec 31
1
Cross-validation error with tune and with rpart
Hello list,
I'm trying to generate classifiers for a certain task using several
methods, one of them being decision trees. The doubts come when I want to
estimate the cross-validation error of the generated tree:
tree <- rpart(y~., data=data.frame(xsel, y), cp=0.00001)
ptree <- prune(tree,
cp=tree$cptable[which.min(tree$cptable[,"xerror"]),"CP"])
ptree$cptable
CP nsplit rel error xerror xstd
1 0.33120000 0 1.0000 1.0000 0.02856022
2 0.08640000 1 0.6688 0.6704 0.02683544
3 0.02986667...
2024 Feb 17
1
certain pipe() use cases not working in r-devel
...> > any useful observations for that OS.
> >
> > You might say this is a weird example or use case. The actual usage
> where I
> > discovered this is the way folks read/write the clipboard on macOS using
> > pbcopy/pbpaste (and, in very similar ways, on linux using xsel or xclip).
> > This is mentioned in the "Clipboard" section of the connections help
> topic.
> >
> > In 4.3.2 on macOS, I can successfully roundtrip with the clipboard:
> >
> >> pb_write <- pipe("pbcopy")
> >> writeChar("hello...
2024 Feb 14
2
certain pipe() use cases not working in r-devel
...h cat doesn't work on Windows, so I don't have
any useful observations for that OS.
You might say this is a weird example or use case. The actual usage where I
discovered this is the way folks read/write the clipboard on macOS using
pbcopy/pbpaste (and, in very similar ways, on linux using xsel or xclip).
This is mentioned in the "Clipboard" section of the connections help topic.
In 4.3.2 on macOS, I can successfully roundtrip with the clipboard:
> pb_write <- pipe("pbcopy")
> writeChar("hello clipboard!", pb_write, eos = NULL)
> pb_read <- p...
2010 Jan 20
7
Data Manipulation
Dear All,
I would like to to group the Ticker by Industry and create file names from
the
Industry Factor and export to a txt file.
I have tried the folowing
ind=finvizAllexETF$Industry
ind is then "Aluminum" "Business Services" "Regional Airlines"
ind2=gsub(" " ,"",ind)
ind3
[1] "Aluminum"