Displaying 20 results from an estimated 200 matches similar to: "Issue with seek() on gzipped connections in R-devel"
2011 Feb 16
1
Ignoring .Rprofile when installing a package
Dear all,
Is there a way to force R CMD INSTALL to ignore ~/.Rprofile and
similar? I presume it sources these startup files for a reason, but
I've found that it can cause confusion or problems. In particular, my
~/.Rprofile loads a few packages which I very frequently use, but this
stops me from installing new versions of their dependencies; viz.
$ R CMD INSTALL tractor.base
* installing to
2009 Feb 04
2
Capturing all warnings (with messages)
Dear all,
For an open-source project that I'm working on (1), which uses R for
all its heavy lifting but includes a wrapper shell script, I was
hoping to find a way to capture all warnings (and, in fact, errors
too), and handle them in my own way. I realise I can do this for a
single expression using something like:
> f <- function(w) print(w$message)
>
2013 Jul 04
1
Cross-platform linking of a simple front-end
Dear all,
I have a simple front-end program which uses the APIs described in section
8 of "Writing R Extensions" to deviate from the standard R behaviour in
fairly minor ways. However, I'm having some difficulty getting it to link
reliably across different platforms.
R CMD LINK seemed like it would help, but I've had difficulty finding many
real-world examples online. I've
2006 Sep 01
1
integration problem with gamma function
Dear R-list members,
I have a problem with translating a mathematica script into R. The whole
script is at the end of the email (with initial values for easy
reproduction) and can be pasted directly into R. The problematic part
(which is included below of course) is
<--- Original Mathematica --->
(* p_svbar *)
UiA = Ni (Dsi - 2Di A + A^2)/2;
UiiA = Nii (Dsii - 2Dii A + A^2)/2;
psvbar =
2007 Dec 13
4
Weird Mongrel error: Not starting.
Hi list,
I have a problem with Mongrel which is really bugging me. I would really
appreciate any help that anyone can provide to help me in solving this
problem.
1. My setup:
Apache front_end with mod_proxy_balancer in front of 4 mongrel/rails
instances of my application.
Rails 1.2.5
Ruby 1.8.6
Mongrel 1.1.1
2. I noticed that the CPU consumption on my server was 100% being consumed
by ruby so I
2016 May 09
2
Replacing an instruction in a post-RA pass
I'm writing a pass that looks at the operands of certain non-commutable
instructions and swaps a couple of them if certain conditions exist (a
register bank conflict in the instruction). If the conflict exists, I build
a new instruction which has the 2nd and 3rd operands swapped (using
BuildMI). Then I want to get rid of the original instruction. I had done
some searching and found that
2007 Dec 11
2
Mongrel not starting: `initialize_without_backlog'': Cannot assign requested address - bind(2) (Errno::EADDRNOTAVAIL)
Hi
I have a rather strange problem with mongrel and I would be grateful if
anyone could assist me with resolving.
I have an application running mongrel 1.1.1 and rails 1.2.5 with ruby 1.8.6.
It was all working fine and starting as expected. But I did a server reboot
once and mongrel has refused to start up since. I get the following error:
2007 Jun 18
1
Problem with binding data-frames
Hello,
I'm having a problem concerning r-binding datasets.
I have six datasets, from six different plates, and two different days.
I want to combine these datasets together for analysis. Datasets from
day 2, have all the same columns than datasets from day 1. However in
addition, there are few columns more in day 2. Thus, using rbind for
this, results a error, because the objects are not the
2015 Oct 07
3
read.table reads "i" as NA_complex_
I just noticed that read.table() and type.convert() interpret the string "i"
as a missing value of type complex.
> str(read.table(text=c("i\ni\ni\ni\n")))
'data.frame': 4 obs. of 1 variable:
$ V1: cplx NA NA NA ...
> str(type.convert("i"))
cplx NA
If there are other strings in the column it makes the column character so
most people
2018 Apr 13
1
[PATCH net] virtio-net: add missing virtqueue kick when flushing packets
We tends to batch submitting packets during XDP_TX. This requires to
kick virtqueue after a batch, we tried to do it through
xdp_do_flush_map() which only makes sense for devmap not XDP_TX. So
explicitly kick the virtqueue in this case.
Reported-by: Kimitoshi Takahashi <ktaka at nii.ac.jp>
Tested-by: Kimitoshi Takahashi <ktaka at nii.ac.jp>
Cc: Daniel Borkmann <daniel at
2009 Aug 11
1
readBin() arg check has unnecessary overhead (patch included)
Dear all,
The version of readBin() in R-devel includes a use of match(), through
`%in%`, which can affect its performance significantly. By using
primitives instead of the rather expensive call to match(), I reduce
the time spent inside readBin() by more than 30% in some of my code
(part of the tractor.base package). A simple patch that does this is
given below. This passes "make
2014 Mar 24
1
Timezone warnings on package install in R-alpha
Dear all,
As of the current R alpha release, I'm seeing timezone-related warnings on
installing any package (including the recommended ones), which I haven't
seen before. For example,
[~/Documents/Source/R-alpha]$ bin/R CMD INSTALL ~/git/tractor/lib/reportr
* installing to library '/Users/jon/Documents/Source/R-alpha/library'
* installing *source* package 'reportr' ...
2015 Jul 31
5
EFI: ipxe + syslinux = Failed to read blocks: 0xC
Hello dear list,
Using VMware I built a test setup of a server with dhcp, tftp and a
http-server and several pxe-clients with EFI mode turned on. This setup
worked, albeit with the exponential-like decay of IO rate I described
earlier. The work-around of using HTTP works beautifully though.
So it was time for the next step. Migrate this setup to our automated
testing environment that runs
2010 Sep 25
4
Help required
Is it possible to read jpeg files into R?
If yes please guide, Thanks.. I tried to search many time but failed to do.
Thankis in advance..
with Best Regards,
Malik Shahzad
Visiting Researcher
National Institute of Informatics (NII)
Tokyo, Japan
Doctoral Student
Asian Institute of Technology (AIT)
Bangkok, Thailand
+66-8-7676-5616
[[alternative HTML version deleted]]
2012 Apr 11
0
Significant updates to medical imaging packages: TractoR and RNiftyReg
Dear all,
There have been some recent major updates to the TractoR and RNiftyReg
packages, which are available for medical image analysis applications.
If you use R for these purposes, I hope you will find the updates
useful.
RNiftyReg is an image registration package, which provides a clean
R-like interface to the NiftyReg library developed at University
College London [1]. It is aimed at
2012 Apr 11
0
Significant updates to medical imaging packages: TractoR and RNiftyReg
Dear all,
There have been some recent major updates to the TractoR and RNiftyReg
packages, which are available for medical image analysis applications.
If you use R for these purposes, I hope you will find the updates
useful.
RNiftyReg is an image registration package, which provides a clean
R-like interface to the NiftyReg library developed at University
College London [1]. It is aimed at
2013 Feb 26
3
Running R scripts with interactive-style evaluation
Hi,
when running a R-script like this:
enable_magic()
compute_stuff()
disable_magic()
the whole script is parsed into a single expression and then evaluated, whereas when using the interactive shell after each line entered, a REPL loop happens.
Is there a way to make a script evaluation behave like this, because I need a single REPL iteration for every expression in the script.
It doesn't
2009 May 20
0
New package for medical image manipulation: tractor.base
Dear all,
The "tractor.base" package has recently been added to CRAN. This
package provides functions to read, write, visualise and manipulate
magnetic resonance images. The standard Analyze, NIfTI and DICOM file
formats are supported (read-only for DICOM), and all metadata is
stored with the image data internally. The code can be used to
visualise image slices or maximum intensity
2009 May 20
0
New package for medical image manipulation: tractor.base
Dear all,
The "tractor.base" package has recently been added to CRAN. This
package provides functions to read, write, visualise and manipulate
magnetic resonance images. The standard Analyze, NIfTI and DICOM file
formats are supported (read-only for DICOM), and all metadata is
stored with the image data internally. The code can be used to
visualise image slices or maximum intensity
2008 Mar 18
2
rpm build machines
How similar should my rpm build machine be to my target
deploy machines? Like, do you have to build on a multi-core
machine if you plan to run on a multi-core machine? Or as
long as the arch is the same, nothing else matters?
johnn