Displaying 20 results from an estimated 3000 matches similar to: "suggestions about import SAS results to R."
2008 Dec 03
2
reading version 9 SAS datasets in R
Hi,
I am trying to read a SAS version 9.1.3 SAS dataset into R (to preserve
the SAS labels), but am unable to do so (I have read in a CSV version).
I first created a transport file using the SAS code:
libname ces2 'D:\CES Analysis\Data';
filename transp 'D:\CES Analysis\Data\fadata.xpt';
/* create a transport file - R cannot read file created by proc cport */
proc
2017 Nov 30
2
binary form of is() contradicts its unary form
2017-11-30 3:14 GMT+01:00 Suzen, Mehmet <mehmet.suzen at gmail.com>:
> My understanding is that there is no inconsistency. `is` does what it
> claims, from the documentation:
>
> ?is?: With two arguments, tests whether ?object? can be treated as
> from ?class2?.
>
> With one argument, returns all the super-classes of this
> object's
2013 Jan 09
5
R encrypt/decrypt
Hello,
I am working on a web system (php) that uses R in the backend, and we need some basic fast encryption/decryption for the underlying mysql database that can be used by both R AND php. It does not need to be top-of-the-line, but just provide some basic level of fast encryption/decryption.
Any suggestions?
Thank you,
Ramiro
[[alternative HTML version deleted]]
2018 Jan 30
2
Why R should never move to git
This might be off topic, but if R-core development ever moves to git,
I think it would make sense to have its own git service hosted by a
university, rather than using
github or gitlab. It is possible via https://gogs.io/ project.
Just for the record.
Best,
-m
2017 Nov 30
3
binary form of is() contradicts its unary form
2017-11-30 14:13 GMT+01:00 Suzen, Mehmet <mehmet.suzen at gmail.com>:
> On 30 November 2017 at 14:04, I?aki ?car <i.ucar86 at gmail.com> wrote:
>>
>> Am I supposed to read every reference on a man page just to know what
>> to expect from a function?
>>
>
> If the reference is from John Chamber, you are supposed to read it.
As a joke, it's funny.
2018 Jan 30
3
Best practices in developing package: From a single file
Dear R developers,
I am wondering what are the best practices for developing an R
package. I am aware of Hadley Wickham's best practice
documentation/book (http://r-pkgs.had.co.nz/). I recall a couple of
years ago there were some tools for generating a package out of a
single file, such as using package.skeleton, but no auto-generated
documentation. Do you know a way to generate
2017 Oct 31
0
run r script in r-fiddle
On 31 October 2017 at 12:42, Martin Maechler <maechler at stat.math.ethz.ch> wrote:
> Notably as I think it's been provided by a company that no
> longer exists under that name, and even if that'd be wrong, R-Fiddle
> does not seem free software (apart from the R parts, I hope !).
For the record, r-fiddle is maintained by datacamp:
2017 Jun 28
2
Nash equilibrium and other game theory tools implemented in networks using igraph or similar
I don't think OP asked an unreasonable question at all.
Civility!
> On Jun 27, 2017, at 2:00 PM, Suzen, Mehmet <mehmet.suzen at gmail.com> wrote:
>
> Why don't you implement and uplad the package to CRAN?
>
> On 27 Jun 2017 17:45, "Chris Buddenhagen" <cbuddenhagen at gmail.com> wrote:
>
> Does anyone know of some code, and examples that
2017 Oct 30
3
run r script in r-fiddle
>>>>> Suzen, Mehmet <msuzen at gmail.com>
>>>>> on Mon, 30 Oct 2017 11:16:30 +0100 writes:
> Hi Frank, You could upload your R source file to a public
> URL, for example to github and read via RCurl, as source
> do not support https as far as I know.
well... but your knowledge is severely (:-) outdated.
Why did you not try first?
2017 Jun 28
4
Nash equilibrium and other game theory tools implemented in networks using igraph or similar
I responded to the unhelpful suggestion "Why don't you implement and uplad the package to CRAN?" No mention of a search engine. Is this what you are commenting on Jeff?
> On Jun 28, 2017, at 5:41 AM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote:
>
> In what way does reminding people that packages exist because others just like them contributed something
2017 Nov 30
2
binary form of is() contradicts its unary form
2017-11-30 13:26 GMT+01:00 Suzen, Mehmet <mehmet.suzen at gmail.com>:
> On 30 November 2017 at 11:37, I?aki ?car <i.ucar86 at gmail.com> wrote:
>> 2017-11-30 3:14 GMT+01:00 Suzen, Mehmet <mehmet.suzen at gmail.com>:
>>> My understanding is that there is no inconsistency. `is` does what it
>>> claims, from the documentation:
>>>
>>>
2013 Apr 19
1
How to read a direct access file by connecting fortran with R ?
Hello all,
I would like to read the specific line number row of a direct access file (which is stored as a n_row*n_col matrix of elements kind=p) without reading all the preceding lines (i.e 1,2,..,row-1).
Is there a function in R that can perform this task?
To solve my issue, I tried without to call Fortran from R by doing the following steps:
I) I wrote a subroutine in fortran called
2017 Oct 31
1
run r script in r-fiddle
Dear List,
According to datacamp support team, r-fiddle.org is not supported. We
asked them to put it down as Professor Maechler suggested it is
a waste of time for the R-help to respond to questions on something
not maintained and severely outdated. If you would like to use
R from your browser, you can embed the following into a web page:
<script
2017 Nov 29
2
binary form of is() contradicts its unary form
Hi Mehmet,
On 11/29/2017 11:22 AM, Suzen, Mehmet wrote:
> Hi Herve,
>
> I think you are confusing subclasses and classes. There is no
> contradiction. `is` documentation
> is very clear:
>
> `With one argument, returns all the super-classes of this object's class.`
Yes that's indeed very clear. So if "list" is a super-class
of "data.frame" (as
2011 Sep 27
3
read.csv behaviour
This might be obvious but I was wondering if anyone knows quick and easy
way of writing out a CSV file with varying row lengths, ideally an
initial data read from a CSV file which has the same format. See example
below.
I found it quite strange that R cannot write it in one go, so one must
append blocks or post-process the file, is this true? (even Ruby can do
it!!)
Otherwise it puts
2011 Sep 27
3
read.csv behaviour
This might be obvious but I was wondering if anyone knows quick and easy
way of writing out a CSV file with varying row lengths, ideally an
initial data read from a CSV file which has the same format. See example
below.
I found it quite strange that R cannot write it in one go, so one must
append blocks or post-process the file, is this true? (even Ruby can do
it!!)
Otherwise it puts
2005 Jan 06
3
tc and ntop inconsistent data flow
Dear List,
Sorry for the dublicated email but I couldn''t get any answer.
I am trying to limit some IP blocs with tc with following three step.
# interface
tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 256kbit # class
tc class add dev eth0 parent 1: classid 1:1 cbq rate 64kbit \
allot 1500 prio 5 bounded isolated
# rules
# download
tc filter add dev eth0 parent 1:
2017 Oct 30
0
run r script in r-fiddle
We were talking about r-fiddle. It gives error there [*], that's why I
suggested using RCurl.
> source("https://raw.githubusercontent.com/msuzen/isingLenzMC/master/R/isingUtils.R")
...
unsupported URL scheme
Error : cannot open the connection
>
On 30 October 2017 at 15:51, Martin Maechler <maechler at stat.math.ethz.ch> wrote:
>>>>>> Suzen, Mehmet
2017 Nov 29
2
binary form of is() contradicts its unary form
Yes, data.frame is not an S4 class but is(data.frame())
finds its super-classes anyway and without the need to wrap
it in asS4(). And "list' is one of the super-classes. Then
is(data.frame(), "list") contradicts this.
I'm not asking for a workaround. I already have one with
'class2 %in% is(object)' as reported in my original post.
'is(asS4(object), class2)'
2017 Jun 27
5
Nash equilibrium and other game theory tools implemented in networks using igraph or similar
Does anyone know of some code, and examples that implement game theory/Nash
equilibrium hypothesis testing using existing packages like igraph/statnet
or similar?
Perhaps along the lines of this article:
Zhang, Y., Aziz-Alaoui, M. A., Bertelle, C., & Guan, J. (2014). Local Nash
Equilibrium in Social Networks, *4*, 6224.
Best,
Chris Buddenhagen
cbuddenhagen at gmail.com
[[alternative HTML